package com.nuaa.yygh.hosp.service;

import com.nuaa.model.hosp.Department;
import com.nuaa.vo.hosp.DepartmentQueryVo;
import com.nuaa.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface DepartmentService {
    //上传科室信息
    void save(Map<String, Object> paramMap);
    //显示科室信息
    Page<Department> selectPage(int page, int limit, DepartmentQueryVo departmentQueryVo);
    //删除科室信息
    void remove(String hoscode, String depcode);
    //根据编号查科室
    List<DepartmentVo> findDeptTree(String hoscode);
    //根据科室和医院编号查询科室名称
    String getDepName(String hoscode, String depcode);

    //获取部门
    Department getDepartment(String hoscode, String depcode);
}
